<?php
class Cu extends CI_Controller{
	function __construct(){
		parent::__construct();
		$this->load->model('dingTalk_model','dingTalk');
	}
	function index()
	{
	    $res = $this->dingTalk->get_suit_token();
//         $res = $this->dingTalk->get_suit_token();
//         $res = $this->dingTalk->curlDingTalkApi('http://api.jiosss.com/tools/jsonRequest',array('name'=>'a','pwd'=>'password'));
        print_r($res);
	}
	function debug()
	{
	    $this->load->view('tools_debug');
	}
	function do_t()
	{
	    print_r($_REQUEST);
	}
	function blank()
	{
		$this->load->view('admin/content/blank');
	}
	function ajax($c='content',$s=null){
		echo 'c content';
	}
	public function _remap($method, $params = array())
	{
	    if (method_exists($this, $method))
	    {
	        return call_user_func_array(array($this, $method), $params);
	    }else {
	    	$this->load->view('admin/content/'.$method);
	    }
	}
}